//
//  UnLockViewController.m
//  Manage
//
//  Created by 杨康 on 2018/1/12.
//  Copyright © 2018年 杨康. All rights reserved.
//

#import "UnLockViewController.h"
#import "YSCRippleView.h"
@interface UnLockViewController ()
@property (nonatomic, strong) YSCRippleView *rippleView;
@end

@implementation UnLockViewController
-(void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
   self.view.backgroundColor=[UIColor blackColor];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationItem.title=@"解锁中";
    self.navigationController.navigationBar.tintColor = [UIColor blackColor];
    [self.view addSubview:self.rippleView];
    [_rippleView showWithRippleType:YSCRippleTypeMixed];
}
- (YSCRippleView *)rippleView
{
    if (!_rippleView) {
        self.rippleView = [[YSCRippleView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT-TOP_HEIGHT)];
    }
    
    return _rippleView;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
